package com.example.guet_assistant.service;

import com.example.guet_assistant.domain.dto.UserAccountBindingDTO;
import com.example.guet_assistant.domain.dto.UserFromDTO;
import com.example.guet_assistant.domain.dto.WxLoginDTO;
import com.example.guet_assistant.domain.po.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.guet_assistant.result.Result;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-11-04
 */
public interface IUserService extends IService<User> {
    Integer login(Long studentId, String password);

    void register(UserFromDTO userFromDTO);

    Integer login(WxLoginDTO wxLoginDTO);

    void userAccountBinding(UserAccountBindingDTO userAccountBindingDTO);

    Result<Map<Integer, String>> getUserList();
}
